package cn.ipenta;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;/** * @author ipenta * @ClassName: FactoryConfig * @Description: TODO * @date 2017-09-21 下午10:17 */@Configuration@EnableAutoConfigurationpublic class FactoryConfig {	@Bean	public MethodValidationPostProcessor methodValidationPostProcessor(){		return new MethodValidationPostProcessor();	}}